import {all} from 'redux-saga/effects';
import loginSaga, {getCaptchaSaga} from "./login/saga";
import registerSaga from "./register/saga";
import userSaga from "./user/saga";
import menuSaga from "./menu/saga";
import dashboardSaga from "./dashboard/saga";
import deviceSaga from "./device/saga";
import newSaga from "./myDevice/saga";
import mileageSaga from './myRoprt/saga'


export default function* rootSaga() {
  yield all([
    loginSaga(),
    registerSaga(),
    getCaptchaSaga(),
    userSaga(),
    menuSaga(),
    dashboardSaga(),
    deviceSaga(),
    newSaga(),
    mileageSaga(),
  ])
}
